﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000465 RID: 1125
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class EnterMapRotationRegionScRsp : IMessage<EnterMapRotationRegionScRsp>, IMessage, IEquatable<EnterMapRotationRegionScRsp>, IDeepCloneable<EnterMapRotationRegionScRsp>, IBufferMessage
	{
		// Token: 0x17000E79 RID: 3705
		// (get) Token: 0x0600329D RID: 12957 RVA: 0x0008B173 File Offset: 0x00089373
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<EnterMapRotationRegionScRsp> Parser
		{
			get
			{
				return EnterMapRotationRegionScRsp._parser;
			}
		}

		// Token: 0x17000E7A RID: 3706
		// (get) Token: 0x0600329E RID: 12958 RVA: 0x0008B17A File Offset: 0x0008937A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return EnterMapRotationRegionScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17000E7B RID: 3707
		// (get) Token: 0x0600329F RID: 12959 RVA: 0x0008B18C File Offset: 0x0008938C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return EnterMapRotationRegionScRsp.Descriptor;
			}
		}

		// Token: 0x060032A0 RID: 12960 RVA: 0x0008B193 File Offset: 0x00089393
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EnterMapRotationRegionScRsp()
		{
		}

		// Token: 0x060032A1 RID: 12961 RVA: 0x0008B19C File Offset: 0x0008939C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EnterMapRotationRegionScRsp(EnterMapRotationRegionScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this.fPHPEJPOBGJ_ = other.fPHPEJPOBGJ_;
			this.lGCHOINHLDJ_ = other.lGCHOINHLDJ_;
			this.clientPosVersion_ = other.clientPosVersion_;
			this.motion_ = ((other.motion_ != null) ? other.motion_.Clone() : null);
			this.energyInfo_ = ((other.energyInfo_ != null) ? other.energyInfo_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060032A2 RID: 12962 RVA: 0x0008B228 File Offset: 0x00089428
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EnterMapRotationRegionScRsp Clone()
		{
			return new EnterMapRotationRegionScRsp(this);
		}

		// Token: 0x17000E7C RID: 3708
		// (get) Token: 0x060032A3 RID: 12963 RVA: 0x0008B230 File Offset: 0x00089430
		// (set) Token: 0x060032A4 RID: 12964 RVA: 0x0008B238 File Offset: 0x00089438
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x17000E7D RID: 3709
		// (get) Token: 0x060032A5 RID: 12965 RVA: 0x0008B241 File Offset: 0x00089441
		// (set) Token: 0x060032A6 RID: 12966 RVA: 0x0008B249 File Offset: 0x00089449
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint FPHPEJPOBGJ
		{
			get
			{
				return this.fPHPEJPOBGJ_;
			}
			set
			{
				this.fPHPEJPOBGJ_ = value;
			}
		}

		// Token: 0x17000E7E RID: 3710
		// (get) Token: 0x060032A7 RID: 12967 RVA: 0x0008B252 File Offset: 0x00089452
		// (set) Token: 0x060032A8 RID: 12968 RVA: 0x0008B25A File Offset: 0x0008945A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint LGCHOINHLDJ
		{
			get
			{
				return this.lGCHOINHLDJ_;
			}
			set
			{
				this.lGCHOINHLDJ_ = value;
			}
		}

		// Token: 0x17000E7F RID: 3711
		// (get) Token: 0x060032A9 RID: 12969 RVA: 0x0008B263 File Offset: 0x00089463
		// (set) Token: 0x060032AA RID: 12970 RVA: 0x0008B26B File Offset: 0x0008946B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint ClientPosVersion
		{
			get
			{
				return this.clientPosVersion_;
			}
			set
			{
				this.clientPosVersion_ = value;
			}
		}

		// Token: 0x17000E80 RID: 3712
		// (get) Token: 0x060032AB RID: 12971 RVA: 0x0008B274 File Offset: 0x00089474
		// (set) Token: 0x060032AC RID: 12972 RVA: 0x0008B27C File Offset: 0x0008947C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MotionInfo Motion
		{
			get
			{
				return this.motion_;
			}
			set
			{
				this.motion_ = value;
			}
		}

		// Token: 0x17000E81 RID: 3713
		// (get) Token: 0x060032AD RID: 12973 RVA: 0x0008B285 File Offset: 0x00089485
		// (set) Token: 0x060032AE RID: 12974 RVA: 0x0008B28D File Offset: 0x0008948D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RotaterEnergyInfo EnergyInfo
		{
			get
			{
				return this.energyInfo_;
			}
			set
			{
				this.energyInfo_ = value;
			}
		}

		// Token: 0x060032AF RID: 12975 RVA: 0x0008B296 File Offset: 0x00089496
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as EnterMapRotationRegionScRsp);
		}

		// Token: 0x060032B0 RID: 12976 RVA: 0x0008B2A4 File Offset: 0x000894A4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(EnterMapRotationRegionScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && this.FPHPEJPOBGJ == other.FPHPEJPOBGJ && this.LGCHOINHLDJ == other.LGCHOINHLDJ && this.ClientPosVersion == other.ClientPosVersion && object.Equals(this.Motion, other.Motion) && object.Equals(this.EnergyInfo, other.EnergyInfo) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x060032B1 RID: 12977 RVA: 0x0008B338 File Offset: 0x00089538
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this.FPHPEJPOBGJ != 0U)
			{
				num ^= this.FPHPEJPOBGJ.GetHashCode();
			}
			if (this.LGCHOINHLDJ != 0U)
			{
				num ^= this.LGCHOINHLDJ.GetHashCode();
			}
			if (this.ClientPosVersion != 0U)
			{
				num ^= this.ClientPosVersion.GetHashCode();
			}
			if (this.motion_ != null)
			{
				num ^= this.Motion.GetHashCode();
			}
			if (this.energyInfo_ != null)
			{
				num ^= this.EnergyInfo.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x060032B2 RID: 12978 RVA: 0x0008B3EE File Offset: 0x000895EE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x060032B3 RID: 12979 RVA: 0x0008B3F6 File Offset: 0x000895F6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060032B4 RID: 12980 RVA: 0x0008B400 File Offset: 0x00089600
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.LGCHOINHLDJ != 0U)
			{
				output.WriteRawTag(8);
				output.WriteUInt32(this.LGCHOINHLDJ);
			}
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(16);
				output.WriteUInt32(this.Retcode);
			}
			if (this.motion_ != null)
			{
				output.WriteRawTag(34);
				output.WriteMessage(this.Motion);
			}
			if (this.energyInfo_ != null)
			{
				output.WriteRawTag(66);
				output.WriteMessage(this.EnergyInfo);
			}
			if (this.ClientPosVersion != 0U)
			{
				output.WriteRawTag(112);
				output.WriteUInt32(this.ClientPosVersion);
			}
			if (this.FPHPEJPOBGJ != 0U)
			{
				output.WriteRawTag(120);
				output.WriteUInt32(this.FPHPEJPOBGJ);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x060032B5 RID: 12981 RVA: 0x0008B4C8 File Offset: 0x000896C8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this.FPHPEJPOBGJ != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.FPHPEJPOBGJ);
			}
			if (this.LGCHOINHLDJ != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.LGCHOINHLDJ);
			}
			if (this.ClientPosVersion != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.ClientPosVersion);
			}
			if (this.motion_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.Motion);
			}
			if (this.energyInfo_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.EnergyInfo);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x060032B6 RID: 12982 RVA: 0x0008B580 File Offset: 0x00089780
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(EnterMapRotationRegionScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			if (other.FPHPEJPOBGJ != 0U)
			{
				this.FPHPEJPOBGJ = other.FPHPEJPOBGJ;
			}
			if (other.LGCHOINHLDJ != 0U)
			{
				this.LGCHOINHLDJ = other.LGCHOINHLDJ;
			}
			if (other.ClientPosVersion != 0U)
			{
				this.ClientPosVersion = other.ClientPosVersion;
			}
			if (other.motion_ != null)
			{
				if (this.motion_ == null)
				{
					this.Motion = new MotionInfo();
				}
				this.Motion.MergeFrom(other.Motion);
			}
			if (other.energyInfo_ != null)
			{
				if (this.energyInfo_ == null)
				{
					this.EnergyInfo = new RotaterEnergyInfo();
				}
				this.EnergyInfo.MergeFrom(other.EnergyInfo);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060032B7 RID: 12983 RVA: 0x0008B650 File Offset: 0x00089850
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060032B8 RID: 12984 RVA: 0x0008B65C File Offset: 0x0008985C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 34U)
				{
					if (num == 8U)
					{
						this.LGCHOINHLDJ = input.ReadUInt32();
						continue;
					}
					if (num == 16U)
					{
						this.Retcode = input.ReadUInt32();
						continue;
					}
					if (num == 34U)
					{
						if (this.motion_ == null)
						{
							this.Motion = new MotionInfo();
						}
						input.ReadMessage(this.Motion);
						continue;
					}
				}
				else
				{
					if (num == 66U)
					{
						if (this.energyInfo_ == null)
						{
							this.EnergyInfo = new RotaterEnergyInfo();
						}
						input.ReadMessage(this.EnergyInfo);
						continue;
					}
					if (num == 112U)
					{
						this.ClientPosVersion = input.ReadUInt32();
						continue;
					}
					if (num == 120U)
					{
						this.FPHPEJPOBGJ = input.ReadUInt32();
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x040013DD RID: 5085
		private static readonly MessageParser<EnterMapRotationRegionScRsp> _parser = new MessageParser<EnterMapRotationRegionScRsp>(() => new EnterMapRotationRegionScRsp());

		// Token: 0x040013DE RID: 5086
		private UnknownFieldSet _unknownFields;

		// Token: 0x040013DF RID: 5087
		public const int RetcodeFieldNumber = 2;

		// Token: 0x040013E0 RID: 5088
		private uint retcode_;

		// Token: 0x040013E1 RID: 5089
		public const int FPHPEJPOBGJFieldNumber = 15;

		// Token: 0x040013E2 RID: 5090
		private uint fPHPEJPOBGJ_;

		// Token: 0x040013E3 RID: 5091
		public const int LGCHOINHLDJFieldNumber = 1;

		// Token: 0x040013E4 RID: 5092
		private uint lGCHOINHLDJ_;

		// Token: 0x040013E5 RID: 5093
		public const int ClientPosVersionFieldNumber = 14;

		// Token: 0x040013E6 RID: 5094
		private uint clientPosVersion_;

		// Token: 0x040013E7 RID: 5095
		public const int MotionFieldNumber = 4;

		// Token: 0x040013E8 RID: 5096
		private MotionInfo motion_;

		// Token: 0x040013E9 RID: 5097
		public const int EnergyInfoFieldNumber = 8;

		// Token: 0x040013EA RID: 5098
		private RotaterEnergyInfo energyInfo_;
	}
}
